package com.qiaoba.module.system.entity.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 参数配置 查询参数
 *
 * @author ailanyin
 * @date 2023-09-09 16:31:11
 */
@Data
public class SysConfigParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "参数名称")
    @Size(max = 50, message = "参数名称不能超过{max}个字符")
    private String configName;

    @Schema(description = "参数键名")
    @Size(max = 50, message = "参数键名不能超过{max}个字符")
    private String configKey;

    @Size(max = 1, message = "是否系统内置不能超过{max}个字符")
    @Schema(description = "是否系统内置（Y是 N否）")
    private String configType;
}
